package cn.luckywh.dao;
import cn.luckywh.pojo.User;

import java.util.List;
import java.util.Map;

/**
 * @author w.
 * @date 2020/11/24 8:36
 */
public interface UserMapper {

    //根据id查询用户(物理分页)
    User getUserById(int id);

    //分页查询
    List<User> getUserByLimit(Map<String, Integer> map);

    //根据RowBounds实现分页(逻辑分页)
    List<User> getUserByRowBounds();

}
